
#ifndef __PICC_H__
#define __PICC_H__

#include <stdint.h>

int PICC_TypeA_Init(uint8_t count, uint8_t* uid, uint8_t* ulen, uint8_t* sak);
int PICC_TypeA_Init2(uint8_t count, uint8_t* uid, uint8_t* ulen, uint8_t* sak, uint8_t* atqa);

int PICC_TypeA_Setup(uint8_t* ats);

int PICC_TypeA_Active(uint8_t* ats);

int PICC_TypeA_Deactive(void);

int PICC_Raw_ExchangeAPDU(uint8_t capdu[], uint16_t clen, uint8_t rapdu[], uint16_t* rlen);
int PICC_ExchangeAPDU(uint8_t capdu[], uint16_t clen, uint8_t rapdu[], uint16_t* rlen);

int PICC_PowerOn(uint8_t * ats);

int PICC_PowerOff(void);


#endif

